package com.ydsungan.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class ErrorQuestion {
    private Integer id;
    private Integer bookId;
    private Integer chapterId;
    private String questionText;
    private String optionA;
    private String optionB;
    private String optionC;
    private String optionD;
    private String analysis;
    private String imgPath;
    private Integer practiceCounts;
    private Integer rightAnswerCounts;
    private String rightOption;
    private Integer multiple;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createTime;
    private Integer practiceId;
    private String selectedOption;
    private String title;
    private Integer hasCollected;
    private Integer rate;

    public void setRate(Integer rate) {
        this.rate = rate;
    }

    public Integer getRate() {
        return rate;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public void setBookId(Integer bookId) {
        this.bookId = bookId;
    }

    public void setChapterId(Integer chapterId) {
        this.chapterId = chapterId;
    }

    public void setQuestionText(String questionText) {
        this.questionText = questionText;
    }

    public void setOptionA(String optionA) {
        this.optionA = optionA;
    }

    public void setOptionB(String optionB) {
        this.optionB = optionB;
    }

    public void setOptionC(String optionC) {
        this.optionC = optionC;
    }

    public void setOptionD(String optionD) {
        this.optionD = optionD;
    }

    public void setAnalysis(String analysis) {
        this.analysis = analysis;
    }

    public void setImgPath(String imgPath) {
        this.imgPath = imgPath;
    }

    public void setPracticeCounts(Integer practiceCounts) {
        this.practiceCounts = practiceCounts;
    }

    public void setRightAnswerCounts(Integer rightAnswerCounts) {
        this.rightAnswerCounts = rightAnswerCounts;
    }

    public void setRightOption(String rightOption) {
        this.rightOption = rightOption;
    }

    public void setMultiple(Integer multiple) {
        this.multiple = multiple;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public void setPracticeId(Integer practiceId) {
        this.practiceId = practiceId;
    }

    public void setSelectedOption(String selectedOption) {
        this.selectedOption = selectedOption;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public void setHasCollected(Integer hasCollected) {
        this.hasCollected = hasCollected;
    }

    public Integer getId() {
        return id;
    }

    public Integer getBookId() {
        return bookId;
    }

    public Integer getChapterId() {
        return chapterId;
    }

    public String getQuestionText() {
        return questionText;
    }

    public String getOptionA() {
        return optionA;
    }

    public String getOptionB() {
        return optionB;
    }

    public String getOptionC() {
        return optionC;
    }

    public String getOptionD() {
        return optionD;
    }

    public String getAnalysis() {
        return analysis;
    }

    public String getImgPath() {
        return imgPath;
    }

    public Integer getPracticeCounts() {
        return practiceCounts;
    }

    public Integer getRightAnswerCounts() {
        return rightAnswerCounts;
    }

    public String getRightOption() {
        return rightOption;
    }

    public Integer getMultiple() {
        return multiple;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public Integer getPracticeId() {
        return practiceId;
    }

    public String getSelectedOption() {
        return selectedOption;
    }

    public String getTitle() {
        return title;
    }

    public Integer getHasCollected() {
        return hasCollected;
    }
}
